FROM openanolis/anolisos:8.6

LABEL maintainer="OpenAnolis Cloud Native SIG"

RUN yum -y update \
    && yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel \
    && yum clean all

ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk

RUN java -version \
    && javac -version

CMD ["bash"]
